﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SaleManagement.Entity;
using System.Linq.Expressions;

namespace SaleManagement.Repository.Interfaces
{
   public interface IPostDetailRepository:IDisposable
    {
        IQueryable<PostDetail> All { get; }
        IQueryable<PostDetail> AllIncluding(params Expression<Func<PostDetail, object>>[] includeProperties);
        PostDetail Find(int id);
        void InsertOrUpdate(PostDetail entity);
        void Delete(int id);
        void Save();
    }
}
